const internal/chacha8rand.chunk
8 uses
internal/chacha8rand (current package)
chacha8.go#L15: chunk = 32 // each chunk produced by block is 32 uint64s
chacha8.go#L69: s.n = chunk
chacha8.go#L126: used := (s.c/ctrInc)*chunk + s.i
chacha8.go#L146: if used > (ctrMax/ctrInc)*chunk-reseed {
chacha8.go#L152: s.c = ctrInc * (uint32(used) / chunk)
chacha8.go#L154: s.i = uint32(used) % chunk
chacha8.go#L155: s.n = chunk
chacha8.go#L157: s.n = chunk - reseed
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |